package com.travel.convert;

import com.travel.dto.RentCarOrderDto;
import com.travel.pojo.Order;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface RentCarOrderConverter {

    RentCarOrderConverter INSTANCE = Mappers.getMapper(RentCarOrderConverter.class);

    RentCarOrderDto dtoToEntity (Order order);

    Order entityToDto(RentCarOrderDto rentCarOrderDto);

}
